package cw.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cw.entity.Group;
import cw.entity.Team;

public interface GroupMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Group record);

    int insertSelective(Group record);

    Group selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Group record);

    int updateByPrimaryKey(Group record);
    
    List<Group> queryGroup(@Param("groupName") String groupName,@Param("description") String description,@Param("id") String id,@Param("offset") Integer offset, @Param("pageSize") Integer pageSize);

    Integer getTotal(@Param("groupName") String groupName,@Param("description") String description,@Param("id") String id);
    
    List<Group> query();
    
    int deleteAll();
}